<%= render :partial => "header" %>

<h2>语种代码表</h2>
<table border="0" cellpadding="1">
  <tr><th> 语种 </th><th> 代码 </th><th> 说明 </th></tr>
  <% for language_encoding in @language_encodings %>
    <tr><td><%= language_encoding.title %></td><td>  <%= language_encoding.encoding %> </td><td>  <%= language_encoding.about %> <%= link_to "＊", :action => "edit_language_encoding", :id => language_encoding %>/<%= link_to "－", {:action => "destroy_language_encoding", :id => language_encoding}, :confirm => '您确信要删除这个语种代码信息吗？', :method => :post %></td></tr>
  <% end %> 
</table>

<h2>添加新语种代码</h2>
<%= start_form_tag :action => "add_language_encoding"%>
  <%= render :partial => "leform" %>
  <%= submit_tag "添加语种代码" %>
<%= end_form_tag %>

